package com.kuangqi.paymentdemo.enums.alipay;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum TradeStatusEnums {
    /**
     * 等待买家付款
     */
    WAIT_BUYER_PAY("交易创建，等待买家付款","WAIT_BUYER_PAY"),
    TRADE_CLOSED("未付款交易超时关闭，或支付完成后全额退款","TRADE_CLOSED"),
    TRADE_SUCCESS("交易支付成功","TRADE_SUCCESS"),
    TRADE_FINISHED("交易结束，不可退款","TRADE_FINISHED");


    
    private final String type;
    private final String code;

}
